package com.yuandian.management.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuandian.api.management.entity.ConfProbeDataFilter;
import com.yuandian.bpm.common.core.util.R;

import java.util.List;

/**
 * 探针数据过滤表-Service接口
 * @author zfsn
 * @date 2023-4-10
 */
public interface ConfProbeDataFilterService extends IService<ConfProbeDataFilter> {

	/**
	 * 分页查询
	 * @param confProbeDataFilter 筛选条件
	 * @return 通用返回对象
	 */
	Page<ConfProbeDataFilter> listPage(ConfProbeDataFilter confProbeDataFilter);

	/**
	 * 向探针同步过滤信息
	 *
	 * @param confProbeDataFilter 参数
	 * @return Result
	 */
	R startSynFilterData(ConfProbeDataFilter confProbeDataFilter);

	/**
	 *
	 * 停止抓包
	 * @param ids id集
	 * @return Result
	 */
	R<String> stop(List<Integer> ids);
}